stylecontext: add GTK_STYLE_CLASS_ARROW
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 2 Dec 2011 16:57:44 +0000 (11:57 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 5 Dec 2011 14:30:57 +0000 (09:30 -0500)
For e.g. submenu items arrow in GtkMenuItems.

https://bugzilla.gnome.org/show_bug.cgi?id=665420

docs/reference/gtk/gtk3-sections.txt
gtk/gtkstylecontext.h

index 477bb18d203d849bccd4f5bcceb35685cab9a5b2..95b5557a2a7a598fecd9a2c39172ccf82703d712 100644 (file)
@@ -5659,6 +5659,7 @@ GTK_STYLE_CLASS_BOTTOM
 GTK_STYLE_CLASS_LEFT
 GTK_STYLE_CLASS_RIGHT
 GTK_STYLE_CLASS_LINKED
+GTK_STYLE_CLASS_ARROW
 GTK_STYLE_REGION_COLUMN
 GTK_STYLE_REGION_COLUMN_HEADER
 GTK_STYLE_REGION_ROW
index 547d45edd6324263c9a992761fb8e641ff5be7a5..0dfb4769c69ddf053e25211ad77f30092c33d91b 100644 (file)
@@ -686,6 +686,16 @@ struct _GtkStyleContextClass
  */
 #define GTK_STYLE_CLASS_PULSE "pulse"
 
+/**
+ * GTK_STYLE_CLASS_ARROW:
+ *
+ * A CSS class used when rendering an arrow element.
+ *
+ * Note that #gtk_render_arrow automatically adds this style class
+ * to the style context when rendering an arrow element.
+ */
+#define GTK_STYLE_CLASS_ARROW "arrow"
+
 
 GType gtk_style_context_get_type (void) G_GNUC_CONST;